runtime.gcControllerState.heapInUse (field)
15 uses
runtime (current package)
arena.go#L897: gcController.heapInUse.add(-int64(s.npages * pageSize))
arena.go#L1071: gcController.heapInUse.add(int64(userArenaChunkBytes))
mgc.go#L1079: memstats.lastHeapInUse = gcController.heapInUse.load()
mgcpacer.go#L356: heapInUse sysMemStat // bytes in mSpanInUse spans
mgcscavenge.go#L151: return gcController.heapInUse.load() + gcController.heapFree.load()
mgcscavenge.go#L707: (gcController.heapInUse.load()*100)/heapRetained(), "% util",
mheap.go#L1351: gcController.heapInUse.add(int64(nbytes))
mheap.go#L1491: inUse := gcController.heapFree.load() + gcController.heapReleased.load() + gcController.heapInUse.load()
mheap.go#L1642: gcController.heapInUse.add(-int64(nbytes))
mstats.go#L436: totalMapped := gcController.heapInUse.load() + gcController.heapFree.load() + gcController.heapReleased.load() +
mstats.go#L463: if gcController.heapInUse.load() != uint64(consStats.inHeap) {
mstats.go#L464: print("runtime: heapInUse=", gcController.heapInUse.load(), "\n")
mstats.go#L473: heapRetained := gcController.heapInUse.load() + gcController.heapFree.load()
mstats.go#L512: stats.HeapSys = gcController.heapInUse.load() + gcController.heapFree.load() + gcController.heapReleased.load()
mstats.go#L530: stats.HeapInuse = gcController.heapInUse.load()
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |